package com.squid.search;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Description
 *
 * @author jinhang
 * @since 2024-2-8
 **/
@SpringBootApplication(scanBasePackages = {"com.squid.base", "com.squid.search"}, exclude = DataSourceAutoConfiguration.class)
@EnableDiscoveryClient
@EnableConfigurationProperties
@Slf4j
public class SearchApplication {
    public static void main(String[] args) {
        SpringApplication.run(SearchApplication.class,args);
        log.info("搜索服务开启");
    }
}
